package com.jinghao.tws.service.impl;

import org.springframework.stereotype.Service;

import com.github.pagehelper.util.StringUtil;
import com.jinghao.core.common.service.impl.JingHaoBaseServiceImpl;
import com.jinghao.core.common.util.cnd.JhCnd;
import com.jinghao.tws.entity.WvUploadTaskInfo;
import com.jinghao.tws.service.IWvUploadTaskInfoService;

@Service("wvUploadTaskInfoService")
public class WvUploadTaskInfoServiceImpl extends JingHaoBaseServiceImpl<WvUploadTaskInfo> implements IWvUploadTaskInfoService {
	//==================定制内容开始======================
//在这里修改代码
	@Override
	public void listWvUploadTaskInfo(WvUploadTaskInfo model) {
		 JhCnd cnd=new JhCnd();
		 if(!StringUtil.isEmpty(model.getWorkUuid())){
			 cnd.andEquals("workUuid");
		 }
		 if(model.getTaskType()!=null){
			 cnd.andEquals("taskType");
		 }
		 model.setJhCnd(cnd);
		 model.setMapList(this.queryMapList(model));
	}
	//==================定制内容结束======================
}
